-- GENERATED SPELL FOR [Lord Shalzaru] --


function spell0_8136(pUnit, Event) --@Frost Shock,n/a--
pUnit:FullCastSpellOnTarget(8058,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8136', 8000, 1)
end

function Sorts_8136(pUnit, Event)
local choix_sorts_8136 = math.random(0, 0)
if choix_sorts_8136 == 0 then
pUnit:RegisterEvent('spell0_8136', 1, 1)
end
end

function mob8136_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8136', math.random(1500, 3000), 1)
end

function mob8136_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8136_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8136_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8136, 1, 'mob8136_Action')
RegisterUnitEvent(8136, 2, 'mob8136_Leave')
RegisterUnitEvent(8136, 3, 'mob8136_Kill')
RegisterUnitEvent(8136, 4, 'mob8136_Die')
